package com.youfang.sixthmedia.message.center;

import java.util.List;

import com.youfang.sixthmedia.net.Pair;
import com.youfang.sixthmedia.net.Request;

public class SaveuserinfoRequest extends Request {

	private String email;
	private String phone;
	private int sex = 1;
	private String nickname;
	private String introduce;
	private int ispublic = 1;
	private String Logodata;// base64 encoded data..

	@Override
	public List<Pair> getParams() {
		return Pair.p("controller", "userinfo").p("action", "saveuserinfo")
				.p("email", email, false).p("phone", phone, false)
				.p("sex", sex).p("nickname", nickname)
				.p("introduce", introduce, false).p("Logodata", Logodata)
				.p("ispublic", ispublic).get();
	}

	@Override
	public void genMetaData() {

	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public int getIspublic() {
		return ispublic;
	}

	public void setIspublic(int ispublic) {
		this.ispublic = ispublic;
	}

	public String getLogodata() {
		return Logodata;
	}

	public void setLogodata(String logodata) {
		Logodata = logodata;
	}

}
